<img src="/images/numonyx-logo-tag.gif" />
<table width="100%" height="30" border="0">
   <tr class="mainmenu">
      <td width="50">Home > </td>
      <td width="70"><%= link_to "Tasksets >", '/tasksets' %></td>
      <td width="60"><%= link_to "Tasks >", '/tasksets/tasks/'+@task.sid.to_s %> </td>
      <td>Task Detail > </td>
   </tr>
</table>
<table border="0" valign="top">
	<tr>
		<td width="200" height="100%" valign="top">
			<table border="0">
				<tr class="menu" height="50"><td width="200"><%=link_to "New Dummy", '/tasksets/new'%></td></tr>
				<tr class="menu" height="50"><td width="200">menu</td></tr>
				<tr class="menu" height="50"><td width="200">menu</td></tr>
				<tr class="menu" height="50"><td width="200">menu</td></tr>
				<tr class="menu" height="50"><td width="200">menu</td></tr>
			</table>
		</td>
		<td valign="top">
			<table border="0">
				<tr class="status">
					<td height="40">
						<%=h @task.status %>	
					</td>
				</tr>
				<tr>
					<td>
						<table border="0">
							<tr class="<%= cycle('element-even', 'element-odd')%>">
								<td>Stage:<br/><%=h @task.stage %></td>
								<td rowspan="4" width="470"><%=text_area "task", "logfile", "cols"=>70, "rows"=>12 %></td>
							</tr>
							<tr class="<%= cycle('element-even', 'element-odd')%>"><td>Runner:<br /><%=h @task.rid %></td></tr>
							<tr class="<%= cycle('element-even', 'element-odd')%>"><td>Create at:<br /><%=h @task.createTime %></td></tr>
							<tr class="<%= cycle('element-even', 'element-odd')%>"><td>Update at:<br /><%=h @task.updateTime %></td></tr>
						</table>
					</td>
				</tr>
				<tr class="status">
					<td height="40">
						<%=h @task.command %>
					</td>
  				</tr>
			   <tr>
					<td>
						<table width="690" border="0">
							<tr>
								<td width="230">Schedule
									<%= link_to image_tag("schedule.jpg", {:border=>0, :size=>"40x40"}), 'schedule_inside/'+@task.id.to_s%>
								</td>
								<td width="230">Stop
									<%= link_to image_tag("stop.jpg", {:border=>0, :size=>"40x40"}), 'stop_inside/'+@task.id.to_s%>
								</td>
								<td width="230">Reset
									<%= link_to image_tag("reset.jpg", {:border=>0, :size=>"40x40"}), 'reset_inside/'+@task.id.to_s%>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>


